package 比特教务管理系统.双链表;

public class TestMyDoubleLinkedList {
    public static void main(String[] args) {
        MyDoubleLinkedList myDoubleLinkedList = new MyDoubleLinkedList();
        myDoubleLinkedList.insertLast(12);
        myDoubleLinkedList.insertLast(133);
        myDoubleLinkedList.insertLast(1);
        myDoubleLinkedList.insertLast(132);
        myDoubleLinkedList.insertLast(1);
        myDoubleLinkedList.insertLast(312);
        myDoubleLinkedList.displayAll();
        myDoubleLinkedList.deleteAllKey(1);
        myDoubleLinkedList.displayAll();
        myDoubleLinkedList.displayAll();
        myDoubleLinkedList.deleteIndex(1);
        myDoubleLinkedList.displayAll();
    }
}
